package pub.xspace.nova.system.domain;

import com.alibaba.druid.support.json.JSONUtils;

import pub.xspace.nova.common.domain.BaseEntity;

/**
 * 组织机构实体类
 * 
 * @author HeJianrong
 */
public class SysOrganization extends BaseEntity {

	/**
	 * 序列化ID
	 */
	private static final long serialVersionUID = -4512089759392622544L;
	/** 机构代码 */
	private String code;
	/** 机构名称 */
	private String name;
	/** 上级机构ID */
	private String pid;
	/** 祖级机构代码列表 */
	private String plist;
	/** 机构类型 */
	private String orgType;
	/** 机构状态 */
	private String status;
	/** 排序号 */
	private Integer seq;
	/** 备注 */
	private String remark;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPlist() {
		return plist;
	}

	public void setPlist(String plist) {
		this.plist = plist;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return JSONUtils.toJSONString(this);
	}
}
